<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ChompBombs: Référence du fichier /home/etu/c/p1006411/chompbombs/src/terrain.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ChompBombs</div>
   <div id="projectbrief">Jeu_de_Bomberman</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Définition de type</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<h1>Référence du fichier /home/etu/c/p1006411/chompbombs/src/terrain.h</h1>  </div>
</div>
<div class="contents">

<p>module de gestion du terrain  
<a href="#_details">Plus de détails...</a></p>

<p><a href="terrain_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structterrain.html">terrain</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">contient la taille, des tableaux de bombes, de gestion d'ennemis, et de sa forme  <a href="structterrain.html#_details">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Définition de type</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structterrain.html">terrain</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#a960835ae93975310a34d88ef7a73e212">terrain</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#ae01cd4fca68d9262e64cf8f22ecfd434">terrainInit</a> (<a class="el" href="structterrain.html">terrain</a> *ter, const int numeroTerrain, const int mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">initialise un terrain  <a href="#ae01cd4fca68d9262e64cf8f22ecfd434"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#abe33ec4c65ec249c6cc8e1a04441927d">terrainLibere</a> (<a class="el" href="structterrain.html">terrain</a> *ter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">libère la mémoire allouée pour un terrain  <a href="#abe33ec4c65ec249c6cc8e1a04441927d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#aaa0e2acc9fbee30d039e1e7722622751">terrainPositionValide</a> (const <a class="el" href="structterrain.html">terrain</a> *ter, const int x, const int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">verifie que la position x,y est une case accessible  <a href="#aaa0e2acc9fbee30d039e1e7722622751"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#aeedeb6dae05dfe4b4cfa1a2503abc417">terrainGetXY</a> (const <a class="el" href="structterrain.html">terrain</a> *ter, const int x, const int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">récupere le caractere à la case x,y  <a href="#aeedeb6dae05dfe4b4cfa1a2503abc417"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#ad442b003f125c74f40a935dbbb0273dd">terrainSetXY</a> (<a class="el" href="structterrain.html">terrain</a> *ter, const int x, const int y, const char objet)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">modifie le caractere à la case x,y  <a href="#ad442b003f125c74f40a935dbbb0273dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#aab50431c8e1383cf483258fa2ba0a325">getTailleX</a> (const <a class="el" href="structterrain.html">terrain</a> *ter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">recupere la largeur du terrain  <a href="#aab50431c8e1383cf483258fa2ba0a325"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#af880b9ff4e6699453e1abe8fff324e70">getTailleY</a> (const <a class="el" href="structterrain.html">terrain</a> *ter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">recupere la hauteur du terrain  <a href="#af880b9ff4e6699453e1abe8fff324e70"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#aca49d2564e8bae018eec94fd7e925ace">compteCaisses</a> (const <a class="el" href="structterrain.html">terrain</a> *ter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compte le nombre de caisses sur le terrain  <a href="#aca49d2564e8bae018eec94fd7e925ace"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#a16bb9a7394ec00e4fd5d9d2b44e32ea3">initDangerTab</a> (int **dangerTab, const int x, const int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">initialise un tableau  <a href="#a16bb9a7394ec00e4fd5d9d2b44e32ea3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#ab43d7bc06d2d0ce8e002d7e1147a664f">estZoneDanger</a> (int **tab, const int x, const int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">retourne 1 si la case x,y est une zone danger, 0 sinon  <a href="#ab43d7bc06d2d0ce8e002d7e1147a664f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="terrain_8h.html#a7bdae09db035b21294068cc65bc1f5b3">remplirDangerTab</a> (<a class="el" href="structterrain.html">terrain</a> *ter, const int puissance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">rempli le champs dangerTab du terrain en fonction des bombes présentes sur le terrain  <a href="#a7bdae09db035b21294068cc65bc1f5b3"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>module de gestion du terrain </p>
<dl class="date"><dt><b>Date:</b></dt><dd>2012/06/07 </dd></dl>
</div><hr/><h2>Documentation des définitions de type</h2>
<a class="anchor" id="a960835ae93975310a34d88ef7a73e212"></a><!-- doxytag: member="terrain.h::terrain" ref="a960835ae93975310a34d88ef7a73e212" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structterrain.html">terrain</a> <a class="el" href="structterrain.html">terrain</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="aca49d2564e8bae018eec94fd7e925ace"></a><!-- doxytag: member="terrain.h::compteCaisses" ref="aca49d2564e8bae018eec94fd7e925ace" args="(const terrain *ter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int compteCaisses </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>compte le nombre de caisses sur le terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="ab43d7bc06d2d0ce8e002d7e1147a664f"></a><!-- doxytag: member="terrain.h::estZoneDanger" ref="ab43d7bc06d2d0ce8e002d7e1147a664f" args="(int **tab, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int estZoneDanger </td>
          <td>(</td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>tab</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>retourne 1 si la case x,y est une zone danger, 0 sinon </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">tab</td><td>tableau de danger (contient 0 et 1) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="aab50431c8e1383cf483258fa2ba0a325"></a><!-- doxytag: member="terrain.h::getTailleX" ref="aab50431c8e1383cf483258fa2ba0a325" args="(const terrain *ter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int getTailleX </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>recupere la largeur du terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pTer</td><td>pointeur sur terrain </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="af880b9ff4e6699453e1abe8fff324e70"></a><!-- doxytag: member="terrain.h::getTailleY" ref="af880b9ff4e6699453e1abe8fff324e70" args="(const terrain *ter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int getTailleY </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>recupere la hauteur du terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pTer</td><td>pointeur sur terrain </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier </dd></dl>

</div>
</div>
<a class="anchor" id="a16bb9a7394ec00e4fd5d9d2b44e32ea3"></a><!-- doxytag: member="terrain.h::initDangerTab" ref="a16bb9a7394ec00e4fd5d9d2b44e32ea3" args="(int **dangerTab, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void initDangerTab </td>
          <td>(</td>
          <td class="paramtype">int **&#160;</td>
          <td class="paramname"><em>dangerTab</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>initialise un tableau </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">dangerTab</td><td>tableau </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a7bdae09db035b21294068cc65bc1f5b3"></a><!-- doxytag: member="terrain.h::remplirDangerTab" ref="a7bdae09db035b21294068cc65bc1f5b3" args="(terrain *ter, const int puissance)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void remplirDangerTab </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>puissance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>rempli le champs dangerTab du terrain en fonction des bombes présentes sur le terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">puissance</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="aeedeb6dae05dfe4b4cfa1a2503abc417"></a><!-- doxytag: member="terrain.h::terrainGetXY" ref="aeedeb6dae05dfe4b4cfa1a2503abc417" args="(const terrain *ter, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char terrainGetXY </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>récupere le caractere à la case x,y </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>caractere </dd></dl>

</div>
</div>
<a class="anchor" id="ae01cd4fca68d9262e64cf8f22ecfd434"></a><!-- doxytag: member="terrain.h::terrainInit" ref="ae01cd4fca68d9262e64cf8f22ecfd434" args="(terrain *ter, const int numeroTerrain, const int mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void terrainInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>numeroTerrain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>initialise un terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">numeroTerrain</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="abe33ec4c65ec249c6cc8e1a04441927d"></a><!-- doxytag: member="terrain.h::terrainLibere" ref="abe33ec4c65ec249c6cc8e1a04441927d" args="(terrain *ter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void terrainLibere </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>libère la mémoire allouée pour un terrain </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="aaa0e2acc9fbee30d039e1e7722622751"></a><!-- doxytag: member="terrain.h::terrainPositionValide" ref="aaa0e2acc9fbee30d039e1e7722622751" args="(const terrain *ter, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int terrainPositionValide </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>verifie que la position x,y est une case accessible </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>entier (0 ou 1) </dd></dl>

</div>
</div>
<a class="anchor" id="ad442b003f125c74f40a935dbbb0273dd"></a><!-- doxytag: member="terrain.h::terrainSetXY" ref="ad442b003f125c74f40a935dbbb0273dd" args="(terrain *ter, const int x, const int y, const char objet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void terrainSetXY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structterrain.html">terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char&#160;</td>
          <td class="paramname"><em>objet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>modifie le caractere à la case x,y </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">ter</td><td>pointeur sur terrain </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>entier </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">objet</td><td>caractere </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>none </dd></dl>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Thu Jun 7 2012 15:48:57 pour ChompBombs par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
